package com.lic.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lic.system.pojo.SysLogin;
import com.lic.system.pojo.User;

/**
 * @author Hewb
 * @ClassName: userService
 * @Description: TODO
 * @date: 2020/7/11 9:24
 * @since JDK 1.8
 */
public interface UserService   extends IService<User> {

    SysLogin queryByUserName(String userName);

    /**
     * 根据用户ID，查询用户
     * @param userId
     */
    User queryUser(Integer userId);


    int insertUser(User  user);
}
